package cn.shengchao.qywx.infrastrure.po;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "qywx_sys_cs_group")
public class QywxSysCsGroup {
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户组名称
     */
    @TableField(value = "cs_group_name")
    private String csGroupName;

    /**
     * 状态 1启用2禁用
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 0,正常，1，删除
     */
    @TableField(value = "deleted")
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;

    @TableField(value = "create_user")
    private Long createUser;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_user")
    private Long updateUser;

    @TableField(value = "update_time")
    private Date updateTime;
}